home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7474 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: cliffy.lfwc.lockheed.com!news
  2. From: Ken Garlington <GarlingtonKE@lfwc.lockheed.com>
  3. Newsgroups: comp.object,comp.software-eng,comp.lang.c++,comp.lang.ada
  4. Subject: Re: Moving from C to C++
  5. Date: Thu, 22 Feb 1996 16:44:16 +0000
  6. Organization: Lockheed Martin Tactical Aircraft Systems
  7. Message-ID: <312C9D60.286D@lfwc.lockheed.com>
  8. References: <4fak3f$3op@news4.digex.net> <1996Feb9.233739.24043@amc.com> <4g8ctn$7do@news4.digex.net> <4g9jos$7cl@soap.news.pipex.net>
  9. NNTP-Posting-Host: ub_998356_mtm7.lfwc.lockheed.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Macintosh; I; 68K)
  14.  
  15. Dirk Wessels wrote:
  16. > Hello,
  17. > I implemented inheritance in C by making a function-table for each class
  18. > and calling the functions indirectly.
  19. > While I wanted to use C++ needed to use this because:
  20.  
  21. Perhaps you should have considered using Ada.
  22.  
  23. > 1. The system should be compatible with almost any other platform.
  24. >     Only GNU-C++ was fully compatible accross platforms,
  25. >     but was not available for all versions of Unix.
  26.  
  27. Ada is available on a variety of platforms.
  28.  
  29. > 2. The program should be readable by other programmers.
  30. >     Most other programmers only knew C.
  31.  
  32. Ada is quite readable - in fact, it was designed to be this way.
  33.  
  34. > 3. The other parts of the system were build in C and Fortran.
  35. >     If you are adding C++ as well to the language-set it gets
  36. >     very hard to fit them together.
  37.  
  38. Ada has explicit support for operation with other languages such as C and
  39. Fortran.
  40.  
  41. > 4. The program should be able to compile for quite a few years.
  42. >     The C++ standard was changing and still is.
  43.  
  44. Ada is an ISO standard (the first ISO standard for a full object-oriented
  45. language, in fact), and is quite stable.
  46.